<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="renderer" content="webkit">
    <meta name="format-detection" content="telephone=no">
    <meta name="csrf-param" content="_homeCSRF">
    <meta name="csrf-token" content="RkJLbXljbG93b3M5JjsZG3MsCidNDg4lISl9DApUKBwCcBgnQCoEXw==">
    <title>霍格教育 </title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="../src/img/favicon.ico" rel="shortcut icon">
    <link href="/images/favicon.ico" rel="bookmark">
    <link href="../src/css/jquery.bxslider.css" rel="stylesheet">
    <link href="../src/iconfonts/iconfont.css" rel="stylesheet">
    <link href="../src/css/bootstrap.css" rel="stylesheet">
    <link href="../src/css/dookayui.css" rel="stylesheet">
    <link href="../src/css/dx.css" rel="stylesheet">
    <link href="../src/css/dy.css" rel="stylesheet">
    <!--[if lte IE9]>
    <script src="../src/js/html5shiv.js"></script>
    <![endif]-->
    <!--[if lte IE9]>
    <script src="../src/js/respond.min.js"></script>
    <![endif]-->

    <script type="text/javascript" src="../src/js/jquery-2.1.4.js"></script>

    <script type="text/javascript">

        function serilizeURL(url){
            var rs=url.split("?")[1];
            var arr=rs.split("&");
            var json={};
            for(var i=0;i<arr.length;i++){
                if(arr[i].indexOf("=")!=-1){
                    json[arr[i].split("=")[0]]=arr[i].split("=")[1];
                }
                else{
                    json[arr[i]]="undefined";
                }
            }
            return json;
        }

        $(document).ready(function () {
            var url = location.href;
            var articleId= serilizeURL(url).articleId;
            var pid= serilizeURL(url).pid;
            var secondMenuId= serilizeURL(url).secondMenuId;

            var articleContent;

            $.ajax({
                url: "http://192.168.100.181:8080/api/article/queryArticleDetail?id=" + articleId,
                success: function (data) {
                    articleContent=data.data;
                    $('.dynamic-details-content').append(articleContent.content);
                    $('.title.pull-left h3').append(articleContent.title);
                    $('.title.pull-left .date').append(articleContent.modifyDate);
                    $('.paging.pull-left').append(`<a href="http://192.168.100.181:8080/huoge-edu/new-page/businessSystem.html?pid=${pid}&secondMenuId=${secondMenuId}" class="back-link iconfont icon-jiantou pull-right"></a>
                `);
                }
            })
        })
    </script>
</head>
<body>
<div class="header"></div>
<div id="pbody" class="">

    <div class="dx-content">

        <div class="dynamic-details-bg-color">
            <div class="container dynamic-details">
                <div class="title-share clearfix">
                    <div class="title pull-left">
                        <h3></h3>
                        <div class="date"></div>
                    </div>
                    <div class="share bdsharebuttonbox pull-right">
                        <a href="#" class="bds_tsina iconfont icon-weibo" data-cmd="tsina" title="分享到新浪微博"></a>
                        <a href="#" class="bds_weixin iconfont icon-weixin" data-cmd="weixin" title="分享到微信"></a>
                        <a href="#" class="bds_sqq iconfont icon-qq" data-cmd="sqq" title="分享到QQ好友"></a>
                        <a href="#" class="bds_douban iconfont icon-icon" data-cmd="douban" title="分享到豆瓣网"></a>
                    </div>
                </div>
                <div class="dynamic-details-content content-center"></div>
                <div class="paging-back clearfix">
                    <div class="paging pull-left">
                        <!--<a href="javascript:;" class="next">下一篇：宁夏自治区农牧厅厅长王文宇一行访问鹏欣集团</a></div>-->
                </div>
            </div>
        </div>
    </div>


</div>
<footer class="footer"></footer>

<script src="../src/js/dookayui.min.js"></script>
<script src="../src/js/common.js"></script>
<script>
    $(".dynamic-details-content>p").each(function () {
        if ($(this).css("text-align") == "center") {
            $(this).addClass("new-center");
        }
    });
    window._bd_share_config = {
        "common": {
            "bdSnsKey": {},
            "bdText": "",
            "bdMini": "1",
            "bdMiniList": false,
            "bdPic": "",
            "bdStyle": "2", "bdSize": "24"
        },
        "share": {}
    };
    with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
</script>
<script>
    $(function () {
        commonApp.init();
    })
    $(document).ready(function () {
        $(".header").load("http://192.168.100.181:8080/huoge-edu/public-file/business-header.html", function () {
            $(".px-mobile .dy-nav .bread").on("click", function () {
                $(".px-mobile .main-nav").slideToggle("slow");
            });
        });

        $(".footer").load("http://192.168.100.181:8080/huoge-edu/public-file/footer.html");
    });
</script>
</body>
</html>
